package com.cuckoo.cuckoo_app2.apiAsync;

import com.cuckoo.cuckoo_app2.dao.Platform;
import com.cuckoo.cuckoo_app2.dao.UserPlatformDao;
import com.google.gson.JsonObject;

public interface PlatformApi {
    /**
     * 添加
     * /cuckoo/cuUserPlatform/platadd
     */
    public void PlatformAddAsync(final UserPlatformDao userPlatformDao, final BaseCallbac<JsonObject> callbac);

    /**
     * 编辑
     * /cuckoo/cuUserPlatform/platedit
     */
    public void PlatformEditAsync(final Platform platform, final BaseCallbac<JsonObject> callbac);

    /**
     * 通过id删除
     * /cuckoo/cuUserPlatform/platedelete
     */
    public void PlatformDeleteAsync(final String id, final BaseCallbac<JsonObject> callbac);

    /**
     * 获取平台列表
     * /cuckoo/cuUserPlatform/platlist
     */
    public void PlatformListAsync(final BaseCallbac<JsonObject> callbac);

}
